﻿using UnityEngine;

namespace Core
{
    public static class HexMetrics
    {
        public const float OUTER_RADIUS = 10f;
        public const float INNER_RADIUS = OUTER_RADIUS * 0.866025404f;

        public static Vector3[] Corners = {
            new(0f, 0f, OUTER_RADIUS),
            new(INNER_RADIUS, 0f, 0.5f * OUTER_RADIUS),
            new(INNER_RADIUS, 0f, -0.5f * OUTER_RADIUS),
            new(0f, 0f, -OUTER_RADIUS),
            new(-INNER_RADIUS, 0f, -0.5f * OUTER_RADIUS),
            new(-INNER_RADIUS, 0f, 0.5f * OUTER_RADIUS)
        };
    }
}
